package com.woniu.service.impl;

import com.woniu.dao.IMenuDao;
import com.woniu.entity.MenuEntity;
import com.woniu.service.IMenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IMenuServiceImpl implements IMenuService {
    @Autowired
    IMenuDao iMenuDao;

    @Override
    public List<MenuEntity> findAllMenus() {
        return iMenuDao.findAllMenus();
    }
}
